<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mbti_value')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mbti_value" data-rule="required" class="form-control" name="row[mbti_value]" type="text" value="{$row.mbti_value|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Scene_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-scene_id" data-rule="required" data-source="scene/index" class="form-control selectpage" name="row[scene_id]" type="text" value="{$row.scene_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Applet_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-applet_id" data-rule="required" data-source="applet/index" class="form-control selectpage" name="row[applet_id]" type="text" value="{$row.applet_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Answers')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-answers" data-rule="required" class="form-control " rows="5" name="row[answers]" cols="50">{$row.answers|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('View_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="viewStatusList" item="vo"}
            <label for="row[view_status]-{$key}"><input id="row[view_status]-{$key}" name="row[view_status]" type="radio" value="{$key}" {in name="key" value="$row.view_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
